package com.warm.androidstudy.view.liveData.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.warm.androidstudy.R;

import org.jetbrains.annotations.NotNull;

/**
 * @author DELL
 */
public class NameAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public NameAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, String s) {
        baseViewHolder.setText(R.id.tv_name,s);

    }
}
